package com.zs.lib_base.bean

import java.io.Serializable

/**
 * descrition:
 */
class DetailCommentBean:Serializable {
    var id:String ?= null
    var zanCount:String ?= null
    var zanStatus:Boolean = false
    var comment:String ?= null
    var userName:String ?= null
    var userId:String ?= null

    var avatar:String ?= null
    var commentTime:String ?= null
    var list:MutableList<Data> = mutableListOf()
    class Data:Serializable{
        var id:String ?= null
        var zanCount:String ?= null
        var zanStatus:Boolean = false

        var comment:String ?= null
        var userName:String ?= null
        var userId:String ?= null
        var atName:String ?= null
        var atUserId:String ?= null
        var avatar:String ?= null
        var commentTime:String ?= null
        override fun toString(): String {
            return "Data(id=$id, zanCount=$zanCount, comment=$comment, userName=$userName, userId=$userId, atName=$atName, atUserId=$atUserId, avatar=$avatar, commentTime=$commentTime)"
        }

    }

    override fun toString(): String {
        return "DetailCommentBean(id=$id, zanCount=$zanCount, zanStatus=$zanStatus, comment=$comment, userName=$userName, userId=$userId, avatar=$avatar, commentTime=$commentTime, list=$list)"
    }

}